From: Philip Withnall Date: Thu, 28 Aug 2025 11:52:58 +0000 (+0100) Subject: timeLimitsManager: Fix a typo in a code comment X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~104^2^2~49 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=856a0ffe2848bb82c86862764275c24c4ac6ddc4;p=gnome-shell.git timeLimitsManager: Fix a typo in a code comment A ‘leap day’ is February 29th, and is not the same as a daylight savings time transition day (when the clock goes forwards or backwards by an hour). Fix a thinko/typo in my code comment. Signed-off-by: Philip Withnall Part-of: --- diff --git a/js/misc/timeLimitsManager.js b/js/misc/timeLimitsManager.js index dd2ddc311..79642b9de 100644 --- a/js/misc/timeLimitsManager.js +++ b/js/misc/timeLimitsManager.js @@ -636,8 +636,9 @@ export const TimeLimitsManager = GObject.registerClass({ * Get the Unix timestamp (in real seconds since the epoch) for the start of * today and the start of tomorrow. * - * To avoid problems due to 24:00-01:00 not existing on leap days, - * arbitrarily say that the day starts at 03:00. + * To avoid problems due to 01:00-02:00 not existing (or existing twice) on + * daylight savings time transition days, arbitrarily say that the day + * starts at 03:00. * * @param {number} nowSecs ‘Current’ time to calculate from. * @returns {number}